Vue.directive('salut',function (el, binding) {
    el.value = binding.value
    console.log('bind')


});

let vm = new Vue({
    el: '#app',
    data:{
        message: 'Jean'
    },
    methods: {
        demo: function (e) {
            console.log('salut');
            // e.preventDefault();
        },
        demo2: function () {
            console.log('demo2')
        }
    }


});